<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: blfwk::UnmappedDataSource Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classblfwk_1_1_unmapped_data_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classblfwk_1_1_unmapped_data_source-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">blfwk::UnmappedDataSource Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Data source for data that is not memory mapped (has no natural address).  
 <a href="classblfwk_1_1_unmapped_data_source.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="src_2blfwk_2_data_source_8h_source.html">DataSource.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for blfwk::UnmappedDataSource:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classblfwk_1_1_unmapped_data_source__inherit__graph.svg" width="296" height="127"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for blfwk::UnmappedDataSource:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="classblfwk_1_1_unmapped_data_source__coll__graph.svg" width="516" height="231"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0173bd406e356547c7c7f4efcafce7b5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0173bd406e356547c7c7f4efcafce7b5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#a0173bd406e356547c7c7f4efcafce7b5">UnmappedDataSource</a> ()</td></tr>
<tr class="memdesc:a0173bd406e356547c7c7f4efcafce7b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a0173bd406e356547c7c7f4efcafce7b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af76d29b89e83091e39c90aa403d74fe6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af76d29b89e83091e39c90aa403d74fe6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#af76d29b89e83091e39c90aa403d74fe6">UnmappedDataSource</a> (const uint8_t *data, unsigned length)</td></tr>
<tr class="memdesc:af76d29b89e83091e39c90aa403d74fe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor taking the data, which is copied. <br /></td></tr>
<tr class="separator:af76d29b89e83091e39c90aa403d74fe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0178337e02c88689a217dcaaea73e67c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#a0178337e02c88689a217dcaaea73e67c">setData</a> (const uint8_t *data, unsigned length)</td></tr>
<tr class="memdesc:a0178337e02c88689a217dcaaea73e67c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source's data.  <a href="#a0178337e02c88689a217dcaaea73e67c">More...</a><br /></td></tr>
<tr class="separator:a0178337e02c88689a217dcaaea73e67c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91400dd9d73b973338205735e1de3be1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91400dd9d73b973338205735e1de3be1"></a>
virtual unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#a91400dd9d73b973338205735e1de3be1">getSegmentCount</a> ()</td></tr>
<tr class="memdesc:a91400dd9d73b973338205735e1de3be1"><td class="mdescLeft">&#160;</td><td class="mdescRight">There is only one segment. <br /></td></tr>
<tr class="separator:a91400dd9d73b973338205735e1de3be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad66d68c308507dfe3f0ee64a376dcea3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad66d68c308507dfe3f0ee64a376dcea3"></a>
virtual <a class="el" href="classblfwk_1_1_data_source_1_1_segment.html">DataSource::Segment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#ad66d68c308507dfe3f0ee64a376dcea3">getSegmentAt</a> (unsigned index)</td></tr>
<tr class="memdesc:ad66d68c308507dfe3f0ee64a376dcea3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns this object, as it is its own segment. <br /></td></tr>
<tr class="separator:ad66d68c308507dfe3f0ee64a376dcea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Segment methods</div></td></tr>
<tr class="memitem:a90f4c43cd401c5b57955c7c565e74db7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a90f4c43cd401c5b57955c7c565e74db7"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#a90f4c43cd401c5b57955c7c565e74db7">hasNaturalLocation</a> ()</td></tr>
<tr class="memdesc:a90f4c43cd401c5b57955c7c565e74db7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unmapped data sources have no natural address. <br /></td></tr>
<tr class="separator:a90f4c43cd401c5b57955c7c565e74db7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe4bd0ab24794bceab017b66bf0a08ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe4bd0ab24794bceab017b66bf0a08ae"></a>
virtual unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#abe4bd0ab24794bceab017b66bf0a08ae">getData</a> (unsigned offset, unsigned maxBytes, uint8_t *buffer)</td></tr>
<tr class="memdesc:abe4bd0ab24794bceab017b66bf0a08ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies a portion of the data into <em>buffer</em>. <br /></td></tr>
<tr class="separator:abe4bd0ab24794bceab017b66bf0a08ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27057da7f1b41fb418bbaf370b6b1b42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27057da7f1b41fb418bbaf370b6b1b42"></a>
virtual unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#a27057da7f1b41fb418bbaf370b6b1b42">getLength</a> ()</td></tr>
<tr class="memdesc:a27057da7f1b41fb418bbaf370b6b1b42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of bytes of data managed by the source. <br /></td></tr>
<tr class="separator:a27057da7f1b41fb418bbaf370b6b1b42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8747664ece522208b1a1f2a0ed48504c"><td class="memItemLeft" align="right" valign="top">virtual uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#a8747664ece522208b1a1f2a0ed48504c">getBaseAddress</a> ()</td></tr>
<tr class="memdesc:a8747664ece522208b1a1f2a0ed48504c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the address associated with the segment.  <a href="#a8747664ece522208b1a1f2a0ed48504c">More...</a><br /></td></tr>
<tr class="separator:a8747664ece522208b1a1f2a0ed48504c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classblfwk_1_1_data_source"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classblfwk_1_1_data_source')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classblfwk_1_1_data_source.html">blfwk::DataSource</a></td></tr>
<tr class="memitem:abbf11da8bfe579daeb6a036855828343 inherit pub_methods_classblfwk_1_1_data_source"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbf11da8bfe579daeb6a036855828343"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source.html#abbf11da8bfe579daeb6a036855828343">DataSource</a> ()</td></tr>
<tr class="memdesc:abbf11da8bfe579daeb6a036855828343 inherit pub_methods_classblfwk_1_1_data_source"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:abbf11da8bfe579daeb6a036855828343 inherit pub_methods_classblfwk_1_1_data_source"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15d6cb8713f5f068e59cb19adf6bc4f0 inherit pub_methods_classblfwk_1_1_data_source"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15d6cb8713f5f068e59cb19adf6bc4f0"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source.html#a15d6cb8713f5f068e59cb19adf6bc4f0">~DataSource</a> ()</td></tr>
<tr class="memdesc:a15d6cb8713f5f068e59cb19adf6bc4f0 inherit pub_methods_classblfwk_1_1_data_source"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a15d6cb8713f5f068e59cb19adf6bc4f0 inherit pub_methods_classblfwk_1_1_data_source"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9bb497fc9cf99267585d9fac3a3689d inherit pub_methods_classblfwk_1_1_data_source"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac9bb497fc9cf99267585d9fac3a3689d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source.html#ac9bb497fc9cf99267585d9fac3a3689d">setTarget</a> (<a class="el" href="classblfwk_1_1_data_target.html">DataTarget</a> *target)</td></tr>
<tr class="memdesc:ac9bb497fc9cf99267585d9fac3a3689d inherit pub_methods_classblfwk_1_1_data_source"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the associated data target. <br /></td></tr>
<tr class="separator:ac9bb497fc9cf99267585d9fac3a3689d inherit pub_methods_classblfwk_1_1_data_source"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a953ffa142790468e13ae3e3e76ff781a inherit pub_methods_classblfwk_1_1_data_source"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a953ffa142790468e13ae3e3e76ff781a"></a>
<a class="el" href="classblfwk_1_1_data_target.html">DataTarget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source.html#a953ffa142790468e13ae3e3e76ff781a">getTarget</a> () const </td></tr>
<tr class="memdesc:a953ffa142790468e13ae3e3e76ff781a inherit pub_methods_classblfwk_1_1_data_source"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the associated data target. <br /></td></tr>
<tr class="separator:a953ffa142790468e13ae3e3e76ff781a inherit pub_methods_classblfwk_1_1_data_source"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classblfwk_1_1_data_source_1_1_segment"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classblfwk_1_1_data_source_1_1_segment')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classblfwk_1_1_data_source_1_1_segment.html">blfwk::DataSource::Segment</a></td></tr>
<tr class="memitem:a0afe9c18e41b3529af0fe2d868d2b8f6 inherit pub_methods_classblfwk_1_1_data_source_1_1_segment"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0afe9c18e41b3529af0fe2d868d2b8f6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source_1_1_segment.html#a0afe9c18e41b3529af0fe2d868d2b8f6">Segment</a> (<a class="el" href="classblfwk_1_1_data_source.html">DataSource</a> &amp;source)</td></tr>
<tr class="memdesc:a0afe9c18e41b3529af0fe2d868d2b8f6 inherit pub_methods_classblfwk_1_1_data_source_1_1_segment"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a0afe9c18e41b3529af0fe2d868d2b8f6 inherit pub_methods_classblfwk_1_1_data_source_1_1_segment"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0796a4bf08ad30c2fb61847dc2a3e90f inherit pub_methods_classblfwk_1_1_data_source_1_1_segment"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0796a4bf08ad30c2fb61847dc2a3e90f"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source_1_1_segment.html#a0796a4bf08ad30c2fb61847dc2a3e90f">~Segment</a> ()</td></tr>
<tr class="memdesc:a0796a4bf08ad30c2fb61847dc2a3e90f inherit pub_methods_classblfwk_1_1_data_source_1_1_segment"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a0796a4bf08ad30c2fb61847dc2a3e90f inherit pub_methods_classblfwk_1_1_data_source_1_1_segment"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab2e7757a66f35d9f519678b970424905"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2e7757a66f35d9f519678b970424905"></a>
<a class="el" href="group__smart__pointer.html#classsmart__array__ptr">smart_array_ptr</a>&lt; uint8_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#ab2e7757a66f35d9f519678b970424905">m_data</a></td></tr>
<tr class="memdesc:ab2e7757a66f35d9f519678b970424905"><td class="mdescLeft">&#160;</td><td class="mdescRight">The data. <br /></td></tr>
<tr class="separator:ab2e7757a66f35d9f519678b970424905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b6c5e7c68a7acfe692442aa602d4810"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b6c5e7c68a7acfe692442aa602d4810"></a>
unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_unmapped_data_source.html#a1b6c5e7c68a7acfe692442aa602d4810">m_length</a></td></tr>
<tr class="memdesc:a1b6c5e7c68a7acfe692442aa602d4810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Byte count of the data. <br /></td></tr>
<tr class="separator:a1b6c5e7c68a7acfe692442aa602d4810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classblfwk_1_1_data_source"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classblfwk_1_1_data_source')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classblfwk_1_1_data_source.html">blfwk::DataSource</a></td></tr>
<tr class="memitem:a3cdb5a580a82196100105f66237986b3 inherit pro_attribs_classblfwk_1_1_data_source"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3cdb5a580a82196100105f66237986b3"></a>
<a class="el" href="classblfwk_1_1_data_target.html">DataTarget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source.html#a3cdb5a580a82196100105f66237986b3">m_target</a></td></tr>
<tr class="memdesc:a3cdb5a580a82196100105f66237986b3 inherit pro_attribs_classblfwk_1_1_data_source"><td class="mdescLeft">&#160;</td><td class="mdescRight">Corresponding target for this source. <br /></td></tr>
<tr class="separator:a3cdb5a580a82196100105f66237986b3 inherit pro_attribs_classblfwk_1_1_data_source"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classblfwk_1_1_data_source_1_1_segment"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classblfwk_1_1_data_source_1_1_segment')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classblfwk_1_1_data_source_1_1_segment.html">blfwk::DataSource::Segment</a></td></tr>
<tr class="memitem:ace39325ad306a493951b2da7064a40e7 inherit pro_attribs_classblfwk_1_1_data_source_1_1_segment"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace39325ad306a493951b2da7064a40e7"></a>
<a class="el" href="classblfwk_1_1_data_source.html">DataSource</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblfwk_1_1_data_source_1_1_segment.html#ace39325ad306a493951b2da7064a40e7">m_source</a></td></tr>
<tr class="memdesc:ace39325ad306a493951b2da7064a40e7 inherit pro_attribs_classblfwk_1_1_data_source_1_1_segment"><td class="mdescLeft">&#160;</td><td class="mdescRight">The data source to which this segment belongs. <br /></td></tr>
<tr class="separator:ace39325ad306a493951b2da7064a40e7 inherit pro_attribs_classblfwk_1_1_data_source_1_1_segment"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Data source for data that is not memory mapped (has no natural address). </p>
<p>This data source can only manage a single block of data, which has no associated address. It acts as its own Segment. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8747664ece522208b1a1f2a0ed48504c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t UnmappedDataSource::getBaseAddress </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the address associated with the segment. </p>
<p>The unmapped datasource as segment's base address is a function of the data target. If the target is not NULL, then the segment's base address is simply the target's beginAddress. Otherwise, if no target has been set, then the base address returned is 0. </p>

<p>Reimplemented from <a class="el" href="classblfwk_1_1_data_source_1_1_segment.html#a426897327bc9930ac7291cf7ef80be0e">blfwk::DataSource::Segment</a>.</p>

</div>
</div>
<a class="anchor" id="a0178337e02c88689a217dcaaea73e67c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UnmappedDataSource::setData </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source's data. </p>
<p>Makes a copy of <em>data</em> that is freed when the data source is destroyed. The caller does not have to maintain <em>data</em> after this call returns. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="src_2blfwk_2_data_source_8h_source.html">src/blfwk/DataSource.h</a></li>
<li>src/blfwk/src/DataSource.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>blfwk</b></li><li class="navelem"><a class="el" href="classblfwk_1_1_unmapped_data_source.html">UnmappedDataSource</a></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:51 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
